package com.zhang.crm.service;


import com.github.pagehelper.PageInfo;
import com.zhang.crm.pojo.TActivity;
import com.zhang.crm.pojo.req.ActivitySearchPageReq;

import java.util.List;

public interface ActivityService {
    PageInfo<TActivity> marketActivity(Integer pageNum);

    TActivity getActivityDetails(Integer id);

    Boolean addActivity(TActivity tActivity);

    Boolean updateActivity(TActivity tActivity);

    Boolean delActivityById(Integer activityId);

    Boolean batchDelActivity(List<Integer> activityIds);

    PageInfo<TActivity> queryActivityPageList(ActivitySearchPageReq activitySearchPageReq);

    List<TActivity> loadActivity();

}
